namespace Wilco.CodeHilighter.Engine.SyntaxHighlighting
{
    using System;
    using System.Collections.Specialized;

    /// <summary>
    /// Represents a string node.
    /// </summary>
    public class StringNode : NodeBase
    {
        #region Fields

        private EntityCollection entities;

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initializes a new instance of a <see cref="Wilco.CodeHilighter.Engine.SyntaxHighlighting.StringNode"/> class.
        /// </summary>
        public StringNode()
        {
            this.entities = new EntityCollection();
        }

        #endregion Constructors

        #region Properties

        /// <summary>
        /// Gets the collection of entities which contains information about the start, end and escape strings of strings.
        /// </summary>
        public EntityCollection Entities
        {
            get
            {
                return this.entities;
            }
        }

        #endregion Properties
    }
}